import Vue from 'vue'
import VueRouter from 'vue-router'
import MusicPaly from './../components/music-play/music-play'
import Subscribe from './../components/subscribe/subscribe'
import Test from './../components/test/test'
Vue.use(VueRouter)
export default new VueRouter({
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect: '/wxpage/taijiao'
    },
    {
      path: '/wxpage/taijiao',
      redirect: '/wxpage/taijiao/music'
    },
    {
      path: '/wxpage/taijiao/music',
      component: MusicPaly
    }, {
      path: '/wxpage/taijiao/subscribe',
      component: Subscribe
    }, {
      path: '/test',
      component: Test
    }
  ]
})
